/*******************************************************************
This file is part of iAgenda.

iAgenda is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

iAgenda is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with iAgenda.  If not, see <http://www.gnu.org/licenses/>.
*******************************************************************/

#include "CSettings.h"

//ajige 3/31/10 bool GetIDialerFilename(TCHAR * szFilename);
bool GetISettingsFilename(TCHAR * szFilename);
bool FileExists(const TCHAR * szFilename);
void GetCurDirFilename(TCHAR * szFilename, const TCHAR * filename, 
                       const TCHAR * extension = NULL);
//date/time functions
//UINT _getDaySerial(const SYSTEMTIME * st);
//void _fillSystemTimeFromSerial(SYSTEMTIME * st, UINT userial);
//UINT _getPastTime(FILETIME ftTime, TCHAR * pszSecondary = NULL, int strLength = 0);
//void _printDate(TCHAR * str, int strLength, FILETIME ft);
//void _printPoomDate(TCHAR * str, int strLength, FILETIME ft);
//FILETIME _poomDateToLocal(DATE poomDate);
//void _printPoomDate2(TCHAR * str, int strLength, FILETIME ft);
//void _printPoomDate3(TCHAR * str, int strLength, SYSTEMTIME st) ; //ajige 4/30

//void _printPoomHour2(TCHAR * str, int strLength, FILETIME ft);

//from phoneutils
void OpenURL(const TCHAR * url);
//ajige3/31/10 void RunDialer();
void RunSettings();//ajige3/31/10  instead of contacts


UINT _SystemToPoomInt();
//DATE _SystemToPoomDate(SYSTEMTIME stNow);
//UINT _SystemToPoomDateInt(SYSTEMTIME stNow);


//UINT _PoomToInt(DATE dtPoomDate);
//void _printHour(TCHAR * str, int strLength, SYSTEMTIME st);
void _printHour(TCHAR * str, int strLength, DATE datestart);
void _printDate(TCHAR * str, int strLength, DATE datestart);

